﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ERPStudio;

namespace Fares
{
    public partial class UrmarireSelectieDataFrm : StudioForm
    {
        public DateTime SelectedDate = DateTime.Now;
        public UrmarireSelectieDataFrm()
        {
            InitializeComponent();
        }

        private void UrmarireSelectieDataFrm_Load(object sender, EventArgs e)
        {
            DataSelectataMC.SelectionStart = SelectedDate;
            AddButton("Select", global::ERPStudio.Properties.Resources._001_181, Select, ToolStripItemAlignment.Right, false);
        }

        private void Select(object sender, EventArgs e)
        {
            SelectedDate = DataSelectataMC.SelectionStart;
            DialogResult = System.Windows.Forms.DialogResult.OK;
        }
    }
}
